home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
HAM Radio 1997
/
HAM Radio 1997.iso
/
vcls
/
resizer
/
resizef.pas
< prev
next >
Wrap
Pascal/Delphi Source File
|
1996-04-08
|
2KB
|
68 lines
{*---------------------------------------------------------------------
* Program: Resizer Test
* Author: Kevin C. Dorff
* Date: July 14, 1995
*
* This is a VERY simple program. One form, several controls on that
* form, and a function call in the "OnResize" event to the component
* to initialize or perform the resize.
*
* Remember, this doesn't work with components inside TTabbedNotebook's
* (and maybe others).
*}
unit Resizef;
interface
uses
SysUtils, WinTypes, WinProcs, Messages, Classes, Graphics, Controls,
Forms, Dialogs, Resizer, StdCtrls, ExtCtrls, Buttons, TabNotBk, Tabs,
Mask;
type
TForm1 = class(TForm)
Resizer1: TResizer;
Button1: TButton;
BitBtn2: TBitBtn;
SpeedButton2: TSpeedButton;
MaskEdit1: TMaskEdit;
Bevel1: TBevel;
Panel1: TPanel;
Edit1: TEdit;
CheckBox1: TCheckBox;
GroupBox1: TGroupBox;
Button2: TButton;
Button3: TButton;
RadioGroup1: TRadioGroup;
RadioButton1: TRadioButton;
RadioButton2: TRadioButton;
RadioButton3: TRadioButton;
procedure FormResize(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
Form1: TForm1;
implementation
{$R *.DFM}
{*---------------------------------------------------------------------
* This is the only function call in this program. It exists to
* demonstrate how to make the RESIZER control handle the resizing
* of the components on the form on which the RESIZER component
* is placed.
*}
procedure TForm1.FormResize(Sender: TObject);
begin
Resizer1.ReSize(Sender);
end;
end.